Optimal. Leaf size=77 \[ \frac{A x^3}{3 a^2 \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}-\frac{x^4 (A b-a B)}{4 a^2 (a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0505231, antiderivative size = 77, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.103, Rules used = {769, 646, 37} \[ \frac{A x^3}{3 a^2 \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}-\frac{x^4 (A b-a B)}{4 a^2 (a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 769
Rule 646
Rule 37
Rubi steps
\begin{align*} \int \frac{x^2 (A+B x)}{\left (a^2+2 a b x+b^2 x^2\right )^{5/2}} \, dx &=\frac{A x^3}{3 a^2 \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}-\frac{\left (2 A b^2-2 a b B\right ) \int \frac{x^3}{\left (a^2+2 a b x+b^2 x^2\right )^{5/2}} \, dx}{2 a b}\\ &=\frac{A x^3}{3 a^2 \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}-\frac{\left (b^3 \left (2 A b^2-2 a b B\right ) \left (a b+b^2 x\right )\right ) \int \frac{x^3}{\left (a b+b^2 x\right )^5} \, dx}{2 a \sqrt{a^2+2 a b x+b^2 x^2}}\\ &=\frac{A x^3}{3 a^2 \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}-\frac{(A b-a B) x^4}{4 a^2 (a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.0330062, size = 73, normalized size = 0.95 \[ \frac{-a^2 b (A+12 B x)-3 a^3 B-2 a b^2 x (2 A+9 B x)-6 b^3 x^2 (A+2 B x)}{12 b^4 (a+b x)^3 \sqrt{(a+b x)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 77, normalized size = 1. \begin{align*} -{\frac{ \left ( bx+a \right ) \left ( 12\,{b}^{3}B{x}^{3}+6\,A{b}^{3}{x}^{2}+18\,B{x}^{2}a{b}^{2}+4\,Aa{b}^{2}x+12\,B{a}^{2}bx+Ab{a}^{2}+3\,B{a}^{3} \right ) }{12\,{b}^{4}} \left ( \left ( bx+a \right ) ^{2} \right ) ^{-{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.12303, size = 269, normalized size = 3.49 \begin{align*} -\frac{B x^{2}}{{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac{3}{2}} b^{2}} - \frac{2 \, B a^{2}}{3 \,{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac{3}{2}} b^{4}} - \frac{B a^{3} b}{4 \,{\left (b^{2}\right )}^{\frac{9}{2}}{\left (x + \frac{a}{b}\right )}^{4}} - \frac{A a^{2} b^{2}}{4 \,{\left (b^{2}\right )}^{\frac{9}{2}}{\left (x + \frac{a}{b}\right )}^{4}} + \frac{2 \, B a^{2}}{3 \,{\left (b^{2}\right )}^{\frac{7}{2}}{\left (x + \frac{a}{b}\right )}^{3}} + \frac{2 \, A a b}{3 \,{\left (b^{2}\right )}^{\frac{7}{2}}{\left (x + \frac{a}{b}\right )}^{3}} - \frac{A}{2 \,{\left (b^{2}\right )}^{\frac{5}{2}}{\left (x + \frac{a}{b}\right )}^{2}} - \frac{B a}{2 \,{\left (b^{2}\right )}^{\frac{5}{2}} b{\left (x + \frac{a}{b}\right )}^{2}} + \frac{B a^{3}}{2 \,{\left (b^{2}\right )}^{\frac{5}{2}} b^{3}{\left (x + \frac{a}{b}\right )}^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.52193, size = 219, normalized size = 2.84 \begin{align*} -\frac{12 \, B b^{3} x^{3} + 3 \, B a^{3} + A a^{2} b + 6 \,{\left (3 \, B a b^{2} + A b^{3}\right )} x^{2} + 4 \,{\left (3 \, B a^{2} b + A a b^{2}\right )} x}{12 \,{\left (b^{8} x^{4} + 4 \, a b^{7} x^{3} + 6 \, a^{2} b^{6} x^{2} + 4 \, a^{3} b^{5} x + a^{4} b^{4}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2} \left (A + B x\right )}{\left (\left (a + b x\right )^{2}\right )^{\frac{5}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]